<?php
$bar_active = 'tablet';
$product = db_first('SELECT * FROM products WHERE pro_alias = "'.$_GET['alias'].'"');
if(!$product) not_found();
$product_cat = db_first('SELECT * FROM categories WHERE cat_id = '.$product['pro_cat_id']);
$yesno = array(0=>'Không',1=>'Có');
$list_instock_status = array(0=>'Hết hàng',1=>'Còn hàng',2=>'Sắp về',3=>'Sắp ra mắt');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="vi-VN" lang="vi-VN" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <link href="<?=DOMAIN?>/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
   <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
   <?php
   echo get_seo_meta($product['pro_id'],'products',$product['pro_name'],$product['pro_name'].'. Hệ điều hành '.$product['pro_general_os']);
   ?>	
   <!-- css -->
   <link rel="stylesheet" type="text/css" href="/themes/css/base.css"/>
   <link rel="stylesheet" type="text/css" href="/themes/css/product.css"/>
   <link rel="stylesheet" type="text/css" href="/themes/css/bjqs.css"/>
   <link rel="stylesheet" type="text/css" href="/themes/css/mobile.css"/>

   <script type="text/javascript" src="/themes/js/jquery-1.9.0.min.js"></script>
   <script type="text/javascript" src="/themes/js/common.js"></script>
   <script type="text/javascript" src="/themes/js/bjqs-1.3.min.js"></script>
   <script type="text/javascript" src="/themes/js/site.js"></script>
   <?=$facebook_script?>
</head>
<body>
   <?php include 'view/view_header.php'?>
   <?php include 'view/view_tablet.php'?>
   <?php include 'view/view_support.php'?>
   <?php include 'view/view_footer.php'?>
   <?php include 'view/view_popup_regpro.php'?>
</body>
</html>